package vip.xiaonuo.facedoor.vo.haiqing;

import com.alibaba.fastjson.annotation.JSONField;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

@NoArgsConstructor
@Data
@Accessors(chain = true)
public class GetAndSetGeneralParamRequest {

    /**
     * operator
     */
    @JSONField(name = "operator")
    private String operator = "SetGeneralParam";
    /**
     * deviceID
     */
    @JSONField(name = "DeviceID")
    private Integer deviceID;
    /**
     * info
     */
    @JSONField(name = "info")
    private InfoDTO info;

    /**
     * InfoDTO
     */
    @NoArgsConstructor
    @Data
    public static class InfoDTO {

        /**
         * faceThreshold
         */
        @JSONField(name = "FaceThreshold")
        private Integer faceThreshold;
        /**
         * iDCardThreshold
         */
        @JSONField(name = "IDCardThreshold")
        private Integer iDCardThreshold;
        /**
         * controlType
         */
        @JSONField(name = "ControlType")
        private Integer controlType;
        /**
         * autoRebootDay
         */
        @JSONField(name = "AutoRebootDay")
        private Integer autoRebootDay;
        /**
         * autoRebootHour
         */
        @JSONField(name = "AutoRebootHour")
        private Integer autoRebootHour;
        /**
         * direction
         */
        @JSONField(name = "Direction")
        private Integer direction;
        /**
         * iPAddr
         */
        @JSONField(name = "IPAddr")
        private String iPAddr;
        /**
         * submask
         */
        @JSONField(name = "Submask")
        private String submask;
        /**
         * gateway
         */
        @JSONField(name = "Gateway")
        private String gateway;
        /**
         * dns
         */
        @JSONField(name = "DNS")
        private String dns;

        @JSONField(name = "DHCP")
        private Integer dhcp;
    }
}
